import axios from '@/utils/service'
// import data from '@/data/tsconfig.json'

export function getImage() {
    return axios.get('/android/getAndroidIamgeByType?type=3')
}
export function getImage2() {
    return axios.get('/android/getAndroidIamgeByType?type=2')
}
export function getNftsingle() {
    return axios.get(`/business/getNftgo`)
}

export function getNews() {
    return axios.get('/business/getMarsbitNewList')
}

export function getList() {
    return axios.get('/business/getNftgoList')
}
export function getPosts() {
    return axios.get('https://gamefi.ask4coin.com/wp-json/wp/v2/posts?categories=8&per_page=1')
}
export function getPostImage(url:string) {
    return axios.get(url)
}
export function getTwitter() {

    return  axios.get('http://info.ask4coin.com/wallet_retweets/')


    // return new Promise((resolve, reject) => {
    //     resolve(data)
    // })
}

